python copy a 2D list

35

python copy a 2D list -

y = [row[:] for row in x]

Comments

Submit
0 Comments